package com.wangyang.service;

import com.wangyang.pojo.Result;
import com.wangyang.pojo.User;

public interface UserService {
    Result register(String username, String password);

    Result login(String username, String password);

    Result getUserInfo();

    Result updateUserInfo(User user);

    Result updateUserPic(String userPic);

    Result updateUserPassword(String oldpwd, String newpwd, String repwd);
}
